<!DOCTYPE html>
<html lang="zh">
    <head>
        <meta charset="UTF-8">
        <title>学生</title>
        <link rel="stylesheet" href="css/style.css">
        <h1>西亚斯数字技术产业学院</h1>
        <style>
            h3, h4 {
                border: 1px solid black;
                padding: 5px;
                display: inline-block;
            }
        </style>
    </head>
<body>
    <table>
        <tr>
            <th>Row</th>
            <th>ID</th>
            <th>Name</th>
            <th>Age</th>
        </tr>
        {{range $student_page, $value := .student_slice}}
        <tr>
            <td>{{$student_page}}</td>
            <td>{{$value.Id}}</td>
            <td>{{$value.Name}}</td>
            <td>{{$value.Age}}</td>
        </tr>
        {{end}}
    </table>
    <h3><a href="/delete_page"> 删除 </a></h3>
    <h3><a href="/update_page"> 修改 </a></h3>
    <h3><a href="/add_page"> 添加 </a></h3>
    <h4><a href="/index"> 返回 </a></h4>
</body>
</html>